import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 分辨率适配
import "./changeRem";

// 全局样式
import "@/assets/styles/index.scss";

// svg
import "@/assets/icons";

// Element Ui
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

// intro.js
import intro from "intro.js";
import "intro.js/introjs.css";

// echarts
import echarts from "echarts";

// DataV
import { scrollBoard } from "@jiaminghi/data-view";

// 引入悬浮按钮组件库
import jvuewheel from "@jyeontu/jvuewheel";
// 引入悬浮按钮样式
import "@jyeontu/jvuewheel/lib/jvuewhell.css";

//引入mock数据，生产环境注释
require("./mock");

// Element Ui
Vue.use(ElementUI);

// DataV
Vue.use(scrollBoard);

Vue.use(jvuewheel);

// intro.js
Vue.prototype.$intro = intro;
// echarts
Vue.prototype.$echarts = echarts;

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
